package com.qingzhuge.serializer;

import com.qingzhuge.exception.BaseException;

/**
 * @author : zero.xiao
 * @description : 反序列化的对象兼容异常
 * @date :2019-06-03 19:57
 * @modified :
 */
public class DeserializeException extends BaseException {
    public DeserializeException() {
    }

    public DeserializeException(Throwable ex) {
        super(ex);
    }

    public DeserializeException(String message) {
        super(message);
    }

    public DeserializeException(String message, int code) {
        super(message, code);
    }

    public DeserializeException(String message, Throwable ex) {
        super(message, ex);
    }

    @Override
    public int getCode() {
        return 601;
    }
}
